package com.dhu.demo.entity;

import java.io.Serializable;

public class StudentWithScore extends Student implements Serializable {
    private Integer score;
    private String classname;
    private String grade;
    private String xueqi;

    public StudentWithScore(Integer score) {
        this.score = score;
    }

    public StudentWithScore(){}
    public StudentWithScore(Integer studentnumber, String department, String major, String classnumber, String studentname, Integer score) {
        super(studentnumber, department, major, classnumber, studentname);
        this.score = score;
    }

    public StudentWithScore(Integer studentid, Integer studentnumber, String department, String major, String classnumber, String studentname, Integer score, String classname, String grade, String xueqi) {
        super(studentid, studentnumber, department, major, classnumber, studentname);
        this.score = score;
        this.classname = classname;
        this.grade = grade;
        this.xueqi = xueqi;
    }

    public StudentWithScore(Integer studentid, Integer studentnumber, String department, String major, String classnumber, String studentname, Integer score) {
        super(studentid, studentnumber, department, major, classnumber, studentname);
        this.score = score;
    }

    public StudentWithScore(String classname, String grade) {
        this.classname=classname;
        this.grade=grade;
    }

    public StudentWithScore(String classnumber){
        super(classnumber);
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getGrade() { return grade; }

    public void setGrade(String grade) { this.grade = grade; }

    public void setXueqi(String xueqi) {
        this.xueqi = xueqi;
    }

    public String getXueqi(){ return xueqi;}
}

